package com.example.testnetdemo

import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.testnetdemo.utils.PhoneInfoUtils
import kotlinx.android.synthetic.main.activity_siminfo_layout.*

class SIMInfoActivity : AppCompatActivity() {

    companion object{
        fun start(context: Context){
            val intent= Intent(context,SIMInfoActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_siminfo_layout)

        title = "基站信息"
        tv_phone_info.text= PhoneInfoUtils(this).phoneInfo

    }


}
